<template>
    <div>
        <el-row>
            <div class="order_name">*我的订单*</div>
            <div class="block">
                <el-date-picker v-model="value1" type="daterange" range-separator="至" start-placeholder="开始日期"
                    end-placeholder="结束日期">
                </el-date-picker>
                <div class="demonstration">查询订单</div>
            </div>
        </el-row>
        <!-- <el-row :gutter="20" class="el_row2" style="margin-left: 30px">
            <el-col :span="15"></el-col>
        </el-row> -->
        <el-tabs type="border-card">
            <el-tab-pane label="全部">
                <Order_all></Order_all>
            </el-tab-pane>
            <el-tab-pane label="已发布">
                <Order_published></Order_published>
            </el-tab-pane>
            <el-tab-pane label="出租中">
                <Order_leasing></Order_leasing>
            </el-tab-pane>
            <el-tab-pane label="租赁中">
                <Under_lease></Under_lease>
            </el-tab-pane>
            <el-tab-pane label="已完成">
                <Order_completed></Order_completed>
            </el-tab-pane>
            <el-tab-pane label="已逾期">
                <Order_overdue></Order_overdue>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script setup>
import { ref } from "vue"
import Order_all from "../order_components/Order_all.vue"
import Order_published from "../order_components/Order_published.vue"
import Order_leasing from "../order_components/Order_leasing.vue"
import Under_lease from "../order_components/Under_lease.vue"
import Order_completed from "../order_components/Order_completed.vue"
import Order_overdue from "../order_components/Order_overdue.vue"
let value1 = ref("")
</script>

<style scoped lang="scss">
* {
    padding: 0;
}

//我的订单那一行
.el-row {
    width: 950px;
    margin-left: 30px;
    height: 50px;
    margin-top: 20px;
}

.el-row[data-v-3db32aa5] {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    border-bottom: 2px solid lightblue;
    // background-color: chocolate;

    .order_name {
        width: 150px;
        height: 40px;
        line-height: 40px;
        font-family: '宋体';
        color: rgb(145, 144, 144);
        // background-color: cornflowerblue;
    }

    .block {
        margin-right: 70px;
        display: flex;
        align-items: center;

        .demonstration {
            height: 30px;
            margin-left: 4px;
            font-family: '宋体';
            line-height: 30px;
            color: white;
            font-size: 14px;
            display: inline-block;
            border: 1px solid rgb(101, 207, 131);
            border-radius: 5px;
            background-color: rgb(101, 207, 131);
        }
    }

}

::v-deep .el-date-editor {
    --el-input-focus-border: none;
    --el-input-focus-border-color: none;
    --el-input-hover-border: none;
}

//订单项目
.el-tabs[data-v-3db32aa5] {
    width: 950px;
    // height: 500px;
    margin-left: 30px;
}

::v-deep .el-tabs__nav {
    display: flex;
    justify-content: flex-start;
    // background-color: cadetblue;
}

// ::v-deep .is-top {
//         width:100px;
//     }
::v-deep .el-tabs__nav-prev {
    display: none;
}

::v-deep .el-tabs__nav-next {
    display: none;
}

::v-deep .is-scrollable {
    padding: 0;
}

::v-deep .el-tabs__item {
    width: 100px;
    margin: 0;
    padding: 0;
    text-align: center;
}

//穿透卡片标题
::v-deep .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
    color: black;
    padding: 0;
}

::v-deep .el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item {
    padding: 0;
}

//第一个卡片标题
::v-deep #tab-0 {
    padding: 0;
}
</style>